home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmTabListCopy.z
/
XmTabListCopy
Wrap
Text File
|
1998-10-30
|
3KB
|
67 lines
XXXXmmmmTTTTaaaabbbbLLLLiiiissssttttCCCCooooppppyyyy((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTaaaabbbbLLLLiiiissssttttCCCCooooppppyyyy((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmTTTTaaaabbbbLLLLiiiissssttttCCCCooooppppyyyy - A convenience function that creates a new
tab list from an existing list
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Xm.h>
XXXXmmmmTTTTaaaabbbbLLLLiiiisssstttt XXXXmmmmTTTTaaaabbbbLLLLiiiissssttttCCCCooooppppyyyy(
XXXXmmmmTTTTaaaabbbbLLLLiiiisssstttt ttttaaaabbbblllliiiisssstttt,
iiiinnnntttt ooooffffffffsssseeeetttt,
CCCCaaaarrrrddddiiiinnnnaaaallll ccccoooouuuunnnntttt);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmTTTTaaaabbbbLLLLiiiissssttttCCCCooooppppyyyy creates a new tab list consisting of a copy of
a portion of the contents of the _t_a_b_l_i_s_t argument. This
function starts copying at the specified offset value of the
tab list and copies _c_o_u_n_t values.
_t_a_b_l_i_s_t Specifies a tab list to be copied.
_o_f_f_s_e_t Specifies where to start copying. A value of 0
(zero) indicates begin at the beginning, a value
of 1 indicates to skip the first tab, and so on. A
negative indicates to begin counting backwards
from the end. A value of -1 indicates to start
copying from the last tab.
_c_o_u_n_t Specifies the number of tabs to copy. A value of 0
(zero) indicates to copy all elements from the
starting point to the end (beginning if _o_f_f_s_e_t is
negative) of the tab list.
RRRREEEETTTTUUUURRRRNNNN
If _t_a_b_l_i_s_t is NULL, this function returns NULL. Otherwise,
this function returns a newly allocated XXXXmmmmTTTTaaaabbbbLLLLiiiisssstttt. If the
function does allocate an XXXXmmmmTTTTaaaabbbbLLLLiiiisssstttt, then the application is
responsible for managing the allocated space. The
application can recover the allocated space by calling
XXXXmmmmTTTTaaaabbbbLLLLiiiissssttttFFFFrrrreeeeeeee.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmTTTTaaaabbbbLLLLiiiisssstttt(3) and XXXXmmmmTTTTaaaabbbbLLLLiiiissssttttFFFFrrrreeeeeeee(3).
Page 1 (printed 10/24/98)